package eleanor.ltd.isRealEstate.dao.pages;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import eleanor.ltd.isRealEstate.entities.pages.Pages;

public interface PagesDAO {

	@CommitAfter
	public boolean addPages(Pages newPG);
	
	public Pages findByPath(String path);
	
	@CommitAfter
	public boolean deletePage(Pages p);
	
	public Pages findByID(Long id);
}
